package com.supplychainapi.filter.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Auth {
    // auth 权限 多个就以逗号分隔;例:scm_desktop_list, scm_desktop_edit
    public String auth() default "";
    // 用来过滤权限的方法
    public String filter() default "authFilter";
}